package com.suncaper.tddmall.service;

import com.suncaper.tddmall.common.model.Cart;
import com.suncaper.tddmall.common.model.CartKey;

import java.util.List;

public interface CartService {
    public void addWishlist(Cart cart);

    public void increase(Cart cart);

    public void decrease(Cart cart);

    public Cart selectByPrimaryKey(CartKey key);

    public void deleteWishlist(CartKey key);

    public List<Cart> selectAll(String userId);

    public void deleteAll(String userId);

    public void deleteSelect(String[] goodsId, String userId);
}
